package main

import "fmt"

const (
	LEN  = 100
	TYPE = "pro"
)

type data int

const (
	Zero data = iota
	One
	Two
	Three
	Four
)

const (
	P0 = 1 << iota
	P1
	P2
	P3
	P4
)

func main() {
	fmt.Println("hello world")

	var name string = "abc"
	fmt.Println(name)
	var a, b, c = 1, 2, 3
	fmt.Println(a, b, c)
	fmt.Println(LEN, TYPE)
	fmt.Println(One, Two, Three)
	fmt.Println(P0, P1, P2)

	var x2 int
	p := &x2
	fmt.Println(*p, p)

	n := 12
	switch {
	case n < 0:
		fmt.Println("<0")
	case n > 0:
		fmt.Println(">0")
	default:
		fmt.Println("=0")
	}

	for i := 0; i < 10; i++ {
		fmt.Printf("i:%d\n", i)
	}

}
